<?php
namespace app\admin\controller;
use \think\Controller;
use \think\Session;
use \think\Db;
class User extends Common
{
	public function index(){

		if(input('method')==0||input('method')==''){
			$result = DB::name('users')->order('u_id')->paginate(10);
		}
		$this->assign('userlist',$result);
		return $this->fetch();
	}

	
}